<!DOCTYPE html>
<svg>
  <filter id="f">
    <feFlood flood-color="red"/>
  </filter>
  <rect width="100" height="100" fill="green"/>
  <line x1="50" y1="0" x2="50" y2="100" stroke="red" stroke-width="100" filter="url(#f)"/>
</svg>
